package com.itheima.Abstract01;

public class Test {
    public static void main(String[] args) {

        Dog d = new Dog();
        d.eat();
        d.drink();
        Cat c = new Cat();
        c.drink();
        c.eat();

    }
}
